package com.net.xpay.common.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.net.xpay.common.enums.user.ClientFrom;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 2019/4/1 14:48

 */
@Getter
@Setter
@NoArgsConstructor
public class RegisterOperatorUserModel {

    @ApiModelProperty(notes = "手机号")
    private String mobile;

    @ApiModelProperty(notes = "密码")
    private String password;

    @ApiModelProperty(notes = "验证码")
    private String checkCode;

    @ApiModelProperty(required=true, notes = "客户端类型", example = "pc_web")
    private ClientFrom clientFrom;

    /**
     * 以下为controller填入的字段
     */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    @ApiModelProperty(notes = "ip", example = "1")
    private String ip;
}
